projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1414a1
)
Use NULL instead of g_direct_equal
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 12 Sep 2015 22:48:17 +0000
(18:48 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 12 Sep 2015 22:48:17 +0000
(18:48 -0400)
GHashTable has built-in support for pointer comparison.
gtk/gtkwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwidget.c
b/gtk/gtkwidget.c
index 4d714b2544197bb738b2ae8e3afa43ab1e154e3d..fd17c2e74b01deef2311fed62a5a44888b6e182e 100644
(file)
--- a/
gtk/gtkwidget.c
+++ b/
gtk/gtkwidget.c
@@
-16681,9
+16681,8
@@
get_auto_child_hash (GtkWidget *widget,
widget->priv->auto_children =
g_hash_table_new_full (g_direct_hash,
- g_direct_equal,
- NULL,
- (GDestroyNotify)g_hash_table_destroy);
+ NULL,
+ NULL, (GDestroyNotify)g_hash_table_destroy);
}
auto_child_hash =